Burst\Admin\Statistics\Statistics D

Total Complexity 267
Dependencies 3
Dependents 4
Total lines 2,333
Lines of code 1,563
Logical lines of code 715
Comment lines 506
Methods 56
Properties 3

Methods 56

Method Rating Maintainability Complexity Lines of code
get_sql_select_for_metric()
C
35 31 76
get_dashboard_widget_statistics()
B
35 13 99
get_where_clause_for_filters()
B
38 15 63
get_sql_select_for_metrics()
A
45 14 39
build_raw_sql()
A
38 11 69
detect_needed_joins()
A
46 12 37
get_insights_data()
A
39 9 67
execute_data_query()
A
40 8 72
format_number()
A
47 9 35
install_statistics_table()
A
38 5 91
get_base_data()
A
47 8 38
build_select_clause()
A
48 8 31
get_today_data()
A
39 4 80
get_insights_date_modifiers()
S
46 6 35
get_datatables_data()
S
42 4 56
update_page_visit_counts()
S
45 5 39
get_devices_subtitle_data()
S
43 4 54
resolve_join_dependencies()
S
56 6 20
can_use_summary_tables()
S
60 6 13
get_devices_title_and_value_data()
S
44 3 53
get_lookup_table_name_by_id()
S
54 5 20
get_compare_goals_data()
S
40 1 75
build_having_clause()
S
60 5 12
build_group_by_clause()
S
57 4 17
get_metric_color()
S
51 3 31
is_campaign_conversion_query()
S
66 5 7
build_where_clause()
S
58 4 14
build_join_clauses()
S
47 2 40
get_post_views()
S
55 3 19
get_sql_table()
S
66 4 7
is_parameter_conversion_query()
S
67 4 7
is_referrer_conversion_query()
S
67 4 7
get_compare_data()
S
47 1 43
calculate_comparison_dates()
S
61 3 13
build_join_sql()
S
60 3 11
clear_test_visit()
S
55 2 21
calculate_ratio()
S
67 3 7
format_uplift()
S
67 3 7
calculate_uplift_status()
S
64 3 10
select_contains_referrer()
S
72 3 4
select_contains_parameters()
S
72 3 4
get_live_visitors_data()
S
57 1 16
convert_date_to_unix()
S
68 2 6
get_nr_of_periods()
S
70 2 5
exclude_bounces()
S
70 2 6
get_data()
S
59 1 14
get_bounces()
S
61 1 13
get_conversions()
S
61 1 13
get_summary_sql()
S
64 1 11
init()
S
69 1 6
get_mysql_timezone_offset()
S
63 1 9
get_wp_timezone_offset()
S
72 1 5
convert_unix_to_date()
S
70 1 6
calculate_conversion_rate()
S
79 1 3
calculate_uplift()
S
75 1 4
is_campaign_parameter()
S
79 1 3